
#include <windows.h>
#include <tchar.h>
#include "mm_jsapi.h"
#include "DispMapHelper.h"

wchar_t strSelectDispMap[] = L"selectDispMap";
wchar_t strLoadDispMap[] = L"loadDispMap";
wchar_t strGetDXDY[] = L"getDXDY";

MM_STATE

void MM_Init()
{
  JS_DefineFunction((unsigned short *)strSelectDispMap/*L("selectDispMap")*/, selectDispMap, 0);
  JS_DefineFunction((unsigned short *)strLoadDispMap, loadDispMap, 1);
  JS_DefineFunction((unsigned short *)strGetDXDY/*L("getDXDY")*/, getDXDY, 2);
}

void MM_Terminate()
{
}

